package com.imooc.service;

import java.util.List;

import com.imooc.beans.Message;
import com.imooc.dao.MessageDao;

public class MessageService {
	
	public List<Message> queryMessageList(String command,String description){
		
		MessageDao messageDao= new MessageDao();
		
		List<Message> mList=messageDao.queryMessageList(command, description);
		
		return mList;
	}
	
	

}
